Cover TOC Chap Prev Chap Prev Fig Next Fig Next Chap

Chapter 19: Controlling Shading

../ch19/19fig23.gif
Figure 19.23

A faceted half column.

19fig23.wrl
Click on the image to view the VRML scene.

#VRML V2.0 utf8
# The VRML 2.0 Sourcebook
# Copyright (c) 1997
# Andrea L. Ames, David R. Nadeau, and John L. Moreland
Shape {
    appearance Appearance {
        material Material { }
    }
    geometry IndexedFaceSet {
        coord Coordinate {
            point [
                -2.00  3.00 0.00,
                -2.00 -3.00 0.00,
                -1.41  3.00 1.41,
                -1.41 -3.00 1.41,
                 0.00  3.00 2.00,
                 0.00 -3.00 2.00,
                 1.41  3.00 1.41,
                 1.41 -3.00 1.41,
                 2.00  3.00 0.00,
                 2.00 -3.00 0.00,
            ]
        }
        coordIndex [
            0, 1, 3, 2, -1,
            2, 3, 5, 4, -1,
            4, 5, 7, 6, -1,
            6, 7, 9, 8, -1,
        ]
    }
}